Skip to content

Conversation

@geelen
Copy link
Member

@geelen geelen commented Jun 12, 2015

Had a quick look at trying to fix this, but wasn't sure the best way. Basically, .some\.thing {} is valid CSS and matches up with the HTML <div class="some.thing">. Classes can also be started with a number or special character using \ as well, e.g. .\1-2 {}. Added a failing test for each use case.

Thanks!

sokra added a commit that referenced this pull request Jun 12, 2015
Escaped characters should be treated as valid
@sokra sokra merged commit d779e5d into master Jun 12, 2015
@sokra sokra deleted the escaped-chars-in-classes branch June 12, 2015 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants